PDM Pro Crp file: User export

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
Ry-guy
Posts: 173
Joined: Mon Mar 08, 2021 5:30 pm
Answers: 1
Location: Minneapolis, MN
x 38
x 139

PDM Pro Crp file: User export

Unread post by Ry-guy »

I'm sure we have PDM Pro users our there. I'm looking for simple .crp file to give me a list of users and email address. Anyone have one they can share?
Many thanks in advance.
User avatar
jcapriotti
Posts: 1794
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1137
x 1942

Re: PDM Pro Crp file: User export

Unread post by jcapriotti »

Code: Select all

@[Userlist]
§Name [User List]

§Company [TKE]

§Description
[This query will list all active users in the system]

§Version [1.1]

§Arguments
[
]

§Sql
[
SELECT USR.Username as 'Login name'
      ,USR.FullName as 'Full name'
      ,USR.Initials as 'Initials'
	  ,USR.Email as 'Email'
  FROM Users USR
  where USR.Enabled=1 and (USR.Username is not null and USR.Username != 'admin' and USR.Username not like '$%')
  order by USR.Username
]


/*******************                        ********************/



Jason
Post Reply