[p4] delete a user

Neeta ROY Neeta.ROY at na.biomerieux.com
Wed Oct 11 14:04:12 PDT 2006


Here is how you delete clients and user, even if some files are opened by
the user.


Delete all client spec. used  the user using following command
            P4 client ?df clientname


after deleting all clients, delete user using following command
            P4 user ?df username


            Remove user from Protection table if you at all have
            protections setup.



Regards,
Neeta Roy
BioMerieux
Phone:(314) 506 8107





----------------------------------------------------------------------

Message: 1
Date: Wed, 11 Oct 2006 18:39:17 +0530
From: "Sudheer R. Palagiri" <sudheerreddy.p at sonata-software.com>
Subject: [p4] delete a user
To: <perforce-user at perforce.com>
Message-ID:

<EE5D6AC02183C1418176F625DABF87CE01D48BAD at sonhydmsx.SONATA.LOCAL>
Content-Type: text/plain;            charset="us-ascii"

Hi,

I am trying to delete a user from perforce, As user id has open files I
am unable to do so?
I have deleted all the client spec for the user to be deleted.
Can any one tell me on how to identify the files pending to be
submitted.

Thanks inadvance,
Sudheer



------------------------------

Message: 2
Date: Wed, 11 Oct 2006 09:29:03 -0400
From: Stephen Vance <steve at vance.com>
Subject: Re: [p4] delete a user
To: "Sudheer R. Palagiri" <sudheerreddy.p at sonata-software.com>
Cc: perforce-user at perforce.com
Message-ID: <452CF19F.5030005 at vance.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

p4 opened -a

They don't necessarily have to have the files open in a client they own.

Steve

Sudheer R. Palagiri wrote:
> Hi,
>
> I am trying to delete a user from perforce, As user id has open files I
> am unable to do so?
> I have deleted all the client spec for the user to be deleted.
> Can any one tell me on how to identify the files pending to be
> submitted.
>
> Thanks inadvance,
> Sudheer
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>


------------------------------

Message: 3
Date: Wed, 11 Oct 2006 09:38:57 -0400
From: "Weintraub, David" <david.weintraub at bofasecurities.com>
Subject: Re: [p4] delete a user
To: "Sudheer R. Palagiri" <sudheerreddy.p at sonata-software.com>,
             perforce-user at perforce.com
Message-ID:

<E7F4E682EA373D4BA84B7F34C96DC5A901E82C1C at ex2k.bankofamerica.com>
Content-Type: text/plain; charset=us-ascii

Use the following command:

             $ p4 opened -a

Which will list all opened files from all clients. Then, you can filter
the output by looking at the name and client of the user who has the
file opened in the form of <userId>@<perforceClient>.

If you're using Unix or Cygwin, you could do something like this:

             $ p4 opened -a | grep "P4USER@[^ ][^ ]*$"

Where "P4USER" is the name of the user who has the opened file. This
will show you the name of the file and the Perforce client which has
that file opened.

To see just the names of the clients with the files opened by that user,
do this:

             $ p4 opened -a | grep "P4USER@[^ ][^ ]*$" | sed 's/.*@//' |
sort
-u

If you're on Windows and you've got p4reports installed, you could use
p4sql:

             C:> p4sql -s "select client from opened where user = 'P4USER'"

Again, replace "P4USER" with the actual user ID.

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Sudheer R.
Palagiri
Sent: Wednesday, October 11, 2006 9:09 AM
To: perforce-user at perforce.com
Subject: [p4] delete a user

Hi,

I am trying to delete a user from perforce, As user id has open files I
am unable to do so?
I have deleted all the client spec for the user to be deleted.
Can any one tell me on how to identify the files pending to be
submitted.

Thanks inadvance,
Sudheer

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user


------------------------------

Message: 4
Date: Wed, 11 Oct 2006 19:21:30 +0530
From: "Sudheer R. Palagiri" <sudheerreddy.p at sonata-software.com>
Subject: Re: [p4] delete a user
To: "Weintraub, David" <david.weintraub at bofasecurities.com>,
"Stephen
             Vance" <steve at vance.com>, <david.weintraub at bofasecurities.com>
Cc: perforce-user at perforce.com
Message-ID:

<EE5D6AC02183C1418176F625DABF87CE01D48BF4 at sonhydmsx.SONATA.LOCAL>
Content-Type: text/plain;            charset="us-ascii"

Thanks a lot!!! , I could get the details now & delete the Id.

Cheers,
Sudheer.




-----Original Message-----
From: Weintraub, David [mailto:david.weintraub at bofasecurities.com]
Sent: Wednesday, October 11, 2006 7:09 PM
To: Sudheer R. Palagiri; perforce-user at perforce.com
Subject: RE: [p4] delete a user

Use the following command:

             $ p4 opened -a

Which will list all opened files from all clients. Then, you can filter
the output by looking at the name and client of the user who has the
file opened in the form of <userId>@<perforceClient>.

If you're using Unix or Cygwin, you could do something like this:

             $ p4 opened -a | grep "P4USER@[^ ][^ ]*$"

Where "P4USER" is the name of the user who has the opened file. This
will show you the name of the file and the Perforce client which has
that file opened.

To see just the names of the clients with the files opened by that user,
do this:

             $ p4 opened -a | grep "P4USER@[^ ][^ ]*$" | sed 's/.*@//' |
sort
-u

If you're on Windows and you've got p4reports installed, you could use
p4sql:

             C:> p4sql -s "select client from opened where user = 'P4USER'"

Again, replace "P4USER" with the actual user ID.

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Sudheer R.
Palagiri
Sent: Wednesday, October 11, 2006 9:09 AM
To: perforce-user at perforce.com
Subject: [p4] delete a user

Hi,

I am trying to delete a user from perforce, As user id has open files I
am unable to do so?
I have deleted all the client spec for the user to be deleted.
Can any one tell me on how to identify the files pending to be
submitted.

Thanks inadvance,
Sudheer

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user



------------------------------

Message: 5
Date: Wed, 11 Oct 2006 09:08:33 -0500
From: "Jeff Grills" <jgrills at drivensnow.org>
Subject: Re: [p4] delete a user
To: "'Sudheer R. Palagiri'" <sudheerreddy.p at sonata-software.com>,
             <perforce-user at perforce.com>
Message-ID: <001701c6ed3e$bc61f750$0301a8c0 at palladium>
Content-Type: text/plain;            charset="us-ascii"


I think we just went over this last week on this very mailing list.  Try
"p4
opened -a" from an account with super access and search for the user's
name.

j

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Sudheer R.
Palagiri
Sent: Wednesday, October 11, 2006 8:09 AM
To: perforce-user at perforce.com
Subject: [p4] delete a user


Hi,

I am trying to delete a user from perforce, As user id has open files I am
unable to do so? I have deleted all the client spec for the user to be
deleted. Can any one tell me on how to identify the files pending to be
submitted.

Thanks inadvance,
Sudheer

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user




------------------------------

Message: 6
Date: Wed, 11 Oct 2006 11:53:17 -0700
From: "Edil Cadenas" <Edil.Cadenas at ktd-kyocera.com>
Subject: [p4]  mapping 1 area of depot to multiple areas of workspace
To: <perforce-user at perforce.com>
Message-ID: <9A6213D6CEDE5147A5FA6559410C363D017BE4D6 at Mail1.ktd.com>
Content-Type: text/plain;            charset="us-ascii"

Is it possible to map 1 area of the depot to several areas of the
workspace?

e.g.

      //depot/dir1/...    //Workspace/local1/...

      //depot/dir1/...    //Workspace/local2/...



I understand that the branch mechanism somehow provides a way to do that
but does it on the depot side.  What I would to do is to just map the
same are of the depot to several sections of my workspace.  I tried
using the "+" mapping but I always end up getting the second line only.



Is what I'm trying to actually possible in Perforce?  Thanks for
anyone's help.





Best regards,

Edil





------------------------------

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user


End of perforce-user Digest, Vol 22, Issue 8
********************************************








More information about the perforce-user mailing list